import 'package:bloc/bloc.dart';

part 'main_state.dart';

class MainCubit extends Cubit<MainState> {
  MainCubit() : super(MainInitial());

  int selectedIndex = 0;

  changeNavBar(int newSelectedIndex) {
    selectedIndex = newSelectedIndex;
    emit(ChangeNavBarState());
  }
}
